home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 4 / Precision Software Applications Silver Collection Volume 4 (1993).iso / stats / graph3d.arj / GRAPH3D.DOC < prev    next >
Text File  |  1993-04-14  |  3KB  |  81 lines

  1.                                 Graph-3D  v1.03
  2.                          by Bert van Leeuwen, April 1993
  3.  
  4.  
  5. QUICK SUMMARY: Graph-3D allows three dimensional display of parametric
  6. equations in the form x=..., y=..., z=... It works in 640x480x16 mode
  7. or (on some SVGA's) in 640x480x256 mode. It also supports shading from
  8. a number of different viewpoints, as well as 6 different palettes. It
  9. supports many different functions, including amongst other sin, cos, ln
  10. and constants such as pi and e. The viewpoint of the graph can be selected
  11. from a number of pre-programmed viewpoints or adjusted manually to
  12. preference.
  13.  
  14. Files:
  15. GRAPH3D.EXE     The executable file (requires about 161K of memory)
  16. GRAPH3D.DOC     You guessed it! (This document in case you didn't)
  17. SVGA256M.BGI    Svga driver
  18. *.G3D           Saved graphs
  19.  
  20.  
  21. Usage: The buttons and input boxes on the bottom of the screen can be clicked
  22. on with the mouse or the following hot-keys on keyboard:
  23.  
  24. x, y, z    : Pops up the x, y and z equations for editing
  25. t          : Minimum time
  26. T          : Maximum time (shift-T)
  27. p          : Number of points
  28. o          : Options menu
  29. s          : Start calculating & drawing graph
  30. Q          : Quit (shift-Q)
  31.  
  32. The equations support the *,+,-,/ and ^ operators as well as brackets, the
  33. variable t and several functions:
  34.  
  35. pi      : the value 3.141592654....
  36. e       : the value 2.718281828....
  37. sin()   : sine, argument must be in radians
  38. cos()   : cosine
  39. tan()   : tangent
  40. arctan(): arctangent
  41. cotan() : cotangent
  42. arcsin(): arcsine
  43. arcos() : arccosine
  44. exp()   : exponential function
  45. ln()    : logarithm base e
  46. log()   : logarithm base 10
  47. log2()  : logarithm base 2
  48. abs()   : returns the absolute value
  49. sqr()   : squares the argument
  50. sqrt()  : square root
  51.  
  52. No error checking is performed to improve speed, thus if you make a typo, or
  53. the equation parser doesn't understand what you wrote, your graph will just
  54. assume value 0 for that particular equation, and you might not get the
  55. desired results.
  56.  
  57. The options menu is fairly self-explanatory and obvious. The user defined
  58. view point in the view options menu is controlled by the cursor keys. Some
  59. fiddling with this option and you'll quickly understand how it works. As
  60. soon as the desired viewpoint is achieved, just press enter.
  61.  
  62. This code probably has a few pesticide resistant bugs left, so if you have
  63. any comments, suggestions, constructive critiscism etc. please contact
  64. me at my internet address :  bert@rkw-lan.cs.up.ac.za
  65.  
  66. I will also probably add better SVGA support in the future (I'm not sure about
  67. this though as the 16 colour mode looks pretty OK), try and find out what the
  68. @#$#@%# is causing the mouse cursor to dissapear behind the menus and fix any
  69. other bugs that I become aware of. I have also on occasion had trouble with
  70. the ^ operator, but I can never seem to get the problem whilst debugging, so
  71. maybe I dreamt it up.
  72.  
  73. Thanks to the following people for helping to realise this project:
  74.  
  75. Ron Loewy            : partial use of his mathematical parser
  76. Jordan Hargraphix    : SVGA driver (Is Hargraphix a coincidental surname?)
  77.  
  78. and others for ideas, suggestions and bug reports.
  79.  
  80. Graph 3-D v1.03 by Bert van Leeuwen
  81.